go/token.FileSet.last (field)

6 uses

	go/token (current package)
		position.go#L430: 	last  atomic.Pointer[File] // cache of last file looked up
		position.go#L488: 	s.last.Store(f)
		position.go#L499: 	s.last.CompareAndSwap(file, nil) // clear last file cache
		position.go#L541: 	if f := s.last.Load(); f != nil && f.base <= int(p) && int(p) <= f.base+f.size {
		position.go#L555: 			s.last.Store(f)
		serialize.go#L42: 	s.last.Store(nil)